;; -*- scheme -*-
; object definitions ...
;; Enumerations and flags ...


;; From tomboykeybinder.h

(define-function tomboy_keybinder_bind
  (c-name "tomboy_keybinder_bind")
  (return-type "gboolean")
  (parameters
    '("const-char*" "keystring")
    '("TomboyBindkeyHandler" "handler")
    '("gpointer" "user_data")
  )
)

(define-function tomboy_keybinder_unbind
  (c-name "tomboy_keybinder_unbind")
  (return-type "none")
  (parameters
    '("const-char*" "keystring")
    '("TomboyBindkeyHandler" "handler")
  )
)

(define-function tomboy_keybinder_is_modifier
  (c-name "tomboy_keybinder_is_modifier")
  (return-type "gboolean")
  (parameters
    '("guint" "keycode")
  )
)

(define-function tomboy_keybinder_get_current_event_time
  (c-name "tomboy_keybinder_get_current_event_time")
  (return-type "guint32")
)


